package com.kexuexiong.demo.bearBaseService.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.kexuexiong.demo.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author kexuexiong
 * @since 2023-04-19
 */
@Getter
@Setter
public class Person extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 名字
     */
    private String name;

}
